<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>项目请假单</title>
	<jsp:include page="../../../main/mp/inc.jsp"	/>
	<script>
		$(function(){
			$("[data-role='navbar']").navbar();
			$("[data-role='header'], [data-role='footer']").toolbar();
		});

		$(function(){

		});

	</script>
</head>
<body>
<!-- class="jqm-demos" -->
<div data-role="page" >
	<div data-role="header" data-position="fixed" data-theme="a">
		<h1 style="float:left;margin: 0 10px;"><i class="fa fa-user"></i> 项目请假单</h1>
		<a href="ajax!proSignin.action" data-ajax="false" id="btn-back"
		   class="ui-btn ui-btn-right ui-icon-back ui-corner-all ui-btn-icon-left ui-btn-icon-notext">返回</a>
	</div><!-- /header -->
	<div class="ui-content jqm-content jqm-fullwidth" role="main">
		<form id="form-common" method="post" id="form-common" action="ajax-proleave!save.action" data-ajax="false">
			<input type="hidden" name="keyId" id="keyId" value="<s:property value="proLeave.id" />"/>

			<div class="ui-field-contain">
				<label>项目名称：</label>
				<span><s:property value="proLeave.proInfo.name"/></span>
			</div>
			<div class="ui-field-contain">
				<label>请假日期：</label>
				<span><s:date name="proLeave.leaveDate" format="yyyy-MM-dd"/></span>
			</div>
			<div class="ui-field-contain">
				<label>请假事由：</label>
				<span><s:property value="proLeave.reason"/></span>
			</div>

		</form>

	</div><!-- /content -->
</div><!-- /page -->

</body>
</html>